package com.qjl.shopping.exception;

import lombok.Getter;

/**
 * @Author liguanghui
 * @Date 2023/4/24
 */
@Getter
public class ServiceException extends RuntimeException{
    private int code;

    public ServiceException(int code, String msg){
        super(msg);
        this.code = code;
    }
}
